package com.yonyou.cyxdms.sysAuth.service.service.dudu;

import com.yonyou.cyx.framework.service.base.IBaseService;
import com.yonyou.cyxdms.sysAuth.service.dto.BindDTO;
import com.yonyou.cyxdms.sysAuth.service.entity.BindPO;


/**
 * <p>
 * 手机号和分机号绑定表 服务类
 * </p>
 *
 * @author houkaihua
 * @since 2019-11-06
 */
public interface BindService extends IBaseService<BindDTO, BindPO, Long> {

    BindPO getByPhoneAndAppId(String caller, String appId);

    BindPO getByPhone(String caller);

    BindPO getByUserCode(String userCode, String appId);

//    Boolean isBind(String mobile);
}
